package com.quick.threadtest;

/**
 * @ClassName SynchronizedDemo
 * @Description TODO
 * @Author Wangxin
 * @Date 2019-02-21 18:26
 * @Version 1.0
 **/
public class SynchronizedDemo {
    public void method() {
        synchronized (this) {
            System.out.println("synchronized 代码块");
        }
    }
}
